/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client.network;
import java.io.*;
import java.net.*;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
 *
 * @author TuyetNgan
 */
public class ClientControlTask extends Thread{
    private BufferedReader inStream = null;
    private PrintStream outStream = null;
    private String fromServer, fromClient, fromScreen;
    private BufferedReader infromScreen = null;
    int defaultportDataSend = 2000;
    int defaultportDataReceive = 2001;
    private Socket clientSocket = null;
    public ClientControlTask(BufferedReader inStream, PrintStream outStream, Socket s) {
        this.inStream = inStream;
        this.outStream = outStream;
        this.clientSocket = s;
    }
    
    public void run(){
        String mess = "";
        try {
            while ((mess = inStream.readLine()) != null) {
                
            }
        } catch (IOException ex) {
            Logger.getLogger(ClientControlTask.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
